Home
last modified time | relevance | path

Searched hist:cdf7b3418ad5a8783efe8f9124023d9b869fec0f (Results 1 – 1 of 1) sorted by path

/linux/mm/
H A Dmmap.cdiff cdf7b3418ad5a8783efe8f9124023d9b869fec0f Tue Sep 22 02:03:36 CEST 2009 Huang Shijie <shijie8@gmail.com> mmap: remove unnecessary code

If (flags & MAP_LOCKED) is true, it means vm_flags has already contained
the bit VM_LOCKED which is set by calc_vm_flag_bits().

So there is no need to reset it again, just remove it.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>